package com.shoesmail.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author ：CDb
 * @description：添加用户存储数据库
 * @date ：2025/9/17 14:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddUserDto {
    private int id;
    private String name;
    private String account;
    private String password;
    private String salt;
    private String email;
    private LocalDateTime beginTime;

    public AddUserDto(String name, String account, String password, String salt, String email, LocalDateTime beginTime) {
        this.name = name;
        this.account = account;
        this.password = password;
        this.salt = salt;
        this.email = email;
        this.beginTime = beginTime;
    }
}
